﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DBUtilityOracle;

namespace PA3PC113.DAL
{
    public class OraDemo
    {
        public void GetData()
        {
            StringBuilder sql = new StringBuilder();
            sql.Append(" select a.mcname, sum(a.num) num ");
            DataTable dt = new DataTable();

            try
            {
                dt = DBUtilityOracle.DBUtilityOra.QueryTable(sql.ToString());
            }
            catch (Exception ex)
            {
            }
        }
        
    
    }
}
